import { Component } from '@angular/core';
import {IonicPage, NavController, NavParams, ViewController} from 'ionic-angular';

/**
 * 完工记录里面的popover
 */

@IonicPage()
@Component({
  selector: 'page-select-popover',
  templateUrl: 'select-popover.html',
})
export class SelectPopoverPage {
  param = this.navParams.get('time');

  constructor(public navCtrl: NavController, public navParams: NavParams,
              private viewCtrl:ViewController) {
  }

  ionViewDidLoad() {
  }

  close(data:any){
    this.viewCtrl.dismiss(data);
  }
}
